package com.jiaai.push.api;


import com.jiaai.push.model.TWarnVO;

/**
 * Created by Administrator on 2018/1/3.
 */
public interface IWarnApi {

    /**
     * 查看所有推送记录
     */
    Object warnAll(Integer curr, TWarnVO tWarnVO) throws Exception;

    /**
     * 推送消息，将推送的消息保存
     * @param tWarnVO
     */
    void add(TWarnVO tWarnVO) throws Exception;


    void delete(Integer id) throws Exception;

    Object findAll(TWarnVO tWarnVO) throws Exception;


}
